var gulp = require('gulp');
var sass = require('gulp-sass');

var scssPath = './css/*.scss';

gulp.task('default', function() {
    gulp.watch(scssPath, ['sass']);
});

gulp.task('sass', function () {
    return gulp.src(scssPath)
        .pipe(sass.sync().on('error', sass.logError))
        .pipe(gulp.dest('./css'));
});